package com.wenjie.redHat.service;

import com.wenjie.redHat.commom.R;
import com.wenjie.redHat.domain.dto.RegisterDto;
import com.wenjie.redHat.domain.dto.UserDto;
import com.wenjie.redHat.domain.entity.UserEntity;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    //注册
    void register(RegisterDto registerDto);
    //登录
    R<UserEntity> login(HttpServletRequest request,UserDto userDto);

    Object getNurseList(UserEntity user);
}
